package org.example.model.activity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.sql.Time;
import java.util.Date;

/**
 * 活动实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("activity")
public class Activity {
    @TableId(type = IdType.AUTO)
    private Integer pkId;//活动id
    private String activityName;
    private Date activityDate;
    private Time activityStarttime;
    private Time activityEndtime;
    private String location;
    private String content;
    private Integer subscriberNum;
    private Double amount;//支付价格
    private Integer looking;//浏览量
    private Integer likes;//点赞量
    private String picture;//封面
    private Integer type;//类型
    private String liveLink;//直播链接
    private String videoLink;//回放地址
    private Integer contentType;//内容类型，海报文章为1，直播为2，支付活动为3
}
